package com.cutePet.pet.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.cutePet.pet.dao.InteractiveDao;
import com.cutePet.pet.domain.InteractiveDO;
import com.cutePet.pet.service.InteractiveService;



@Service
public class InteractiveServiceImpl implements InteractiveService {
	@Autowired
	private InteractiveDao interactiveDao;
	
	@Override
	public InteractiveDO get(Long interactiveId){
		return interactiveDao.get(interactiveId);
	}
	
	@Override
	public List<InteractiveDO> list(Map<String, Object> map){
		return interactiveDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return interactiveDao.count(map);
	}
	
	@Override
	public int save(InteractiveDO interactive){
		return interactiveDao.save(interactive);
	}
	
	@Override
	public int update(InteractiveDO interactive){
		return interactiveDao.update(interactive);
	}
	
	@Override
	public int remove(Long interactiveId){
		return interactiveDao.remove(interactiveId);
	}
	
	@Override
	public int batchRemove(Long[] interactiveIds){
		return interactiveDao.batchRemove(interactiveIds);
	}
	
}
